package com.springboot.usercenter.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description :
 * User: jiume
 * Date: 2025-04-23
 * Time: 13:55
 */
@Data
@TableName("user_info")
public class UserInfo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String userAccount;
    private String userPassword;
    private Integer gender;
    private String userAvatar;
    private String phone;
    private String email;
    private Integer isValid;
    private Date createTime;
    private Date updateTime;
    @TableLogic // 配置逻辑删除
    private Integer isDelete;
    private Integer userIdentity;
}
